package com.company.bridge;

/**
 * 宝马汽车实现类
 */
public class BmwCar extends Car {

    public BmwCar(Color color){
        super.setColor(color);
    }

    @Override
    public void run() {
        String c = color.useColor();
        System.out.println("生产"+c+"宝马汽车");
    }

}
